import request from '@/utils/request.js';

export function sendCode(data) {
  return request({
    url: '/api/user/send/code',
    method: 'POST',
    data: data,
  });
}
export function userRegister(data) {
  return request({
    url: '/api/user/login',
    method: 'POST',
    data: data,
  });
}
export function walletPw(data) {
  return request({
    url: '/api/wallet/pw',
    method: 'POST',
    data: data,
  });
}
export function userInfo(data) {
  return request({
    url: '/api/user/info',
    method: 'POST',
    data: data,
  });
}
